#pragma once
#include "Operation.h"
#include <exception>
#include <iostream>
class OperationDiv :
    public Operation
{
public:

    double getResult()
    {
        try {
            double result = get_NumberA() / get_NumberB();
            return result;
        }
        catch (std::exception& e) {
            std::cout << e.what() << std::endl;
        }
        
    }
};

